package config

import (
	. "TaylorTest/app"
	filter "TaylorTest/filter"
)

func init() {
	//注册全局过滤器
	RegisterGlobalFilter(
		&filter.LogFilter{},
		&filter.LoginFilter{ExcludedUrl: []string{"/login"}})
	//注册异常处理Handler
	RegisterExceptionHandler(filter.ExceptionHandler)

}
